import 'package:flutter/material.dart';
import 'package:HealthU/model/UserModel.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';


class CurrentUserViewModel extends ChangeNotifier {
  UserModel? _currentUser;

  UserModel? get currentUser => _currentUser;

  void setCurrentUser(UserModel user) {
    _currentUser = user;
    notifyListeners();
  }
}



final currentUserModelProvider = ChangeNotifierProvider((ref) => CurrentUserViewModel());
